<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>登入页面</title>
		<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
		<link rel="shortcut icon" href="img/favicon.ico">
	</head>
	<body ng-app="myapp" ng-controller="loginController" >
		<!--导航条-->
		<div>
		<ng-include src="'nav.html'"></ng-include>
		</div>
		<!--导航条-->
		<div class="container">
			<div class="row">
				<div class="col-md-3 col-md-offset-4">
					<form class="form-signin">
						<h2 class="form-signin-heading text-center">会员登入</h2>
						<span>{{errMessage}}</span>
						<div class="form-group">
							<!--<label for="inputEmail" class="sr-only">Email address</label>
							<input type="email" id="inputEmail" class="form-control" placeholder="用户名" required="" autofocus="" ng-model="username"></div>-->
							<label for="inputText" class="sr-only">Text address</label>
							<input type="text" id="inputText" class="form-control" name="username" placeholder="用户名" required="" autofocus="" ng-model="username"></div>
						<div class="form-group">
							<label for="inputPassword" class="sr-only">Password</label>
							<input type="password" id="inputPassword" class="form-control" name="pwd" placeholder="密码" required="" ng-model="password"></div>
						<div class="checkbox">
							<label>
								<input type="checkbox" value="remember-me"> 自动登入
							</label>
						</div>
						<button class="btn btn-lg btn-primary btn-block" type="button" ng-click="loginSubmit();">登入</button>
						<p class="text-right"><a href="regist.html">立即注册</a></p>
					</form>
				</div>
			</div>
		</div>
		<script src="js/angularjs/angular.min.1.5.8.js"></script>
		<script src="js/base/base.js"></script>
		<script src="js/service/loginService.js"></script>
		<script src="js/controller/loginController.js"></script>
		<script src="js/controller/navController.js"></script>
	    <script src="js/service/categoryService.js"></script>
	</body>
</html>
